import axios from "@/api";

// 获取网关管理
export const getConcactAPI = (data2: any, data: any) => {
  return axios({
    url: "/service/page/contact/user/info?paged=" + data2.paged + "&&pageSize=" + data2.pageSize,
    method: "post",
    data
  });
};

export const addConcactAPI = (data: any) => {
  return axios({
    url: "/service/contact/user/info",
    method: "post",
    data
  });
};

export const updateConcactAPI = (data: any) => {
  return axios({
    url: "/service/contact/user/info",
    method: "put",
    data
  });
};

export const deleteConcactAPI = (data: any) => {
  return axios({
    url: "/service/contact/user/info?id=" + data,
    method: "delete",

  });
};